package com.situ.meetingRoom.service;

import com.situ.meetingRoom.entity.Boardroom;
import com.situ.meetingRoom.util.PageInfo;
import com.situ.meetingRoom.vo.BoardroomVO;

import java.util.List;

public interface BoardroomService {
    List<BoardroomVO> getAll(Boardroom boardroom);

    int add(Boardroom boardroom) throws Exception;

    int remove(Integer id) throws Exception;

    Boardroom getById(Integer id);

    int edit(Boardroom boardroom) throws Exception;

    PageInfo getForPage(Integer page, Integer limit, Boardroom boardroom);
}
